Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

seems simple

the notesimage is just the identifier as it seems:

$ perl -MMIME::Base64 -e 'print decode_base64("xP8gAAEAAQAAAAgAAAAAAAAAAAAAAAAAU1RHNjI2NTeVACYAAAAAAAAAAAAAAAAAAAAAAAAA0wF/ AAAAAAAAAAAAAAAAAA==")' | hexdump -C
00000000 c4 ff 20 00 01 00 01 00 00 00 08 00 00 00 00 00 |.. .............|
00000010 00 00 00 00 00 00 00 00 53 54 47 36 32 36 35 37 |........STG62657|
00000020 95 00 26 00 00 00 00 00 00 00 00 00 00 00 00 00 |..&.............|
00000030 00 00 00 00 00 00 d3 01 7f 00 00 00 00 00 00 00 |................|
*
0000004


This identifer/name (STG62657) is referred in the file-tag :

<file hosttype="cdstorage" compression="none" flags="storedindoc" encoding="none" name="STG62657" size="2332">


the filedata-tag seems to contain some metainformation (maybe signature, timestamps or something) you can extract the actual image by skipping the first bytes:

$ perl -MMIME::Base64 -e 'undef $/; $f=<>; print decode_base64($f) ' image.base64.txt | hexdump -C | head
00000000 01 00 18 09 01 00 99 00 1c 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 |................|
00000020 00 00 7d 00 1c 00 00 00 01 00 d3 01 7f 00 d3 08 |..}.............|
00000030 00 00 01 00 00 00 00 00 00 00 00 00 00 00 7c 00 |..............|.|
00000040 de 08 00 00 d3 08 d4 08 47 49 46 38 39 61 d3 01 |........GIF89a..|
00000050 7f 00 e7 00 00 d0 d0 c8 80 80 80 00 00 00 40 40 |..............@@|
00000060 40 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |@...............|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000350 00 00 00 00 00 2c 00 00 00 00 d3 01 7f 00 40 08 |.....,........@.|


trained eyes immediately spot the file magic of a gif file(GIF89a) at offset 0x48, so my guess is you just need to skip these bytes.


Feedback response number WEBB8X9J69 created by ~Mary Kiluplopnivu on 08/17/2012

Lotus Notes DXL Notesbitmap to GIF (~Joan Pretumith... 17.Aug.12)
. . seems simple (~Mary Kiluplopn... 17.Aug.12)
. . . . Thanks!! (~Joan Pretumith... 18.Aug.12)
. . . . . . Please help, Any Clue?? (~Joan Pretumith... 22.Aug.12)
. . . . . . . . unkown format (~Mary Kiluplopn... 22.Aug.12)
. . . . . . . . . . more search result (~Joan Pretumith... 22.Aug.12)
. . . . . . . . . . . . notesbitmap a reference?? (~Ted Ekfreeberg... 21.Dec.12)
. . . . . . . . . . Any Luck?? (~Joan Pretumith... 23.Aug.12)
. . . . . . . . . . . . no (~Ted Ekfreeberg... 21.Feb.13)
. . How to extract older style Notes bi... (~Lorraine Nimji... 13.Oct.16)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS